/**
 * 员工信息添加视图
 */

Ext.define("app.view.dept.Form",{
	extend:'Ext.form.Panel',
	alias:'widget.deptform',
	//store:'dept.AddStore',
		defaultType:'textfield',
		defaults:{		//表单默认属性
			labelSeparator : ": ",
			labelWidth : 80,
			width : 260,
			//allowBlank : false,	//表单不为空
			msgTarget : 'side',
			labelAlign:'right',	//标签右对齐
			//blankText : '不能为空' ,
		},
		margin:5,
		border:false,
			items:[
			       {name:'name',fieldLabel:'部门名称',},
			       {name:'manager',fieldLabel:'部门经理',},			      
			       {name:'remark',fieldLabel:'备注',},       		
			],			 		 		        
	
		/* buttonAlign : "center",
	      buttons : [{
	          text : "提交",
	        action : "add",	  
	         },],*/

	initComponent:function(){//初始化方法
		this.callParent(arguments);
		
	}
});